<?php
		if($_SESSION["gmslcms_logged_in"]=="TRUE")
			{
			$security='PASS';
			}
		else
			{
			echo
			"<br />
			<br />
			<br />
			<p class='correct' align='center'>Welcome to $organisation's website!</p>
			<p class='normaltext' align='center'>This website is locked and is only accessable by logging in. Please either, log in below, or contact the site administrator for your own username.</p>
			<form action='../login/login.php' method='POST' name='login' id='login'>
			<p class='normaltext' align='center'>Username: <input name='loginusername' type='text' id='loginusername' /></p>
			<p class='normaltext' align='center'>Password: <input name='loginpassword' type='password' id='loginpassword' /></p>
			<input name='page_go' type='hidden' id='page_go' value='$_SERVER[SCRIPT_NAME]' />
			<p class='normaltext' align='center'><input name='login' type='submit' id='login' value='Login' /></p>
			</form>
			<br />
			<br />
			<br />
			<script language='JavaScript'>
			document.login.loginusername.focus();
			</script>";
			}
?>
